package com.kehutong.employee.entity;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

import java.util.List;

@Table(value="t_employee_upload_log_item", multi=true, idType= IDType.TIMESTAMP)
public class EmployeeUploadLogItem extends Entity {

    private static final long serialVersionUID = -3815579991288561509L;

    protected EmployeeUploadLogItem(String id) {
        super(id);
    }

    @Column(comment="行数")
    private Integer rowIndex;

    @Column(comment = "错误说明")
    private List<String> error;

    @Column(comment="账号")
    private String userid;

    @Column(comment = "姓名")
    private String name;

    @Column(comment = "手机号")
    private String mobile;

    @Column(comment = "部门")
    private String department;

    @Column(comment = "职务")
    private String position;

    @Column(comment = "身份")
    private String identity;

    @Column(comment = "性别")
    private String gender;

    @Column(comment = "座机号码")
    private String telephone;

    @Column(comment = "邮箱")
    private String email;

    @Column(comment = "办公地址")
    private String officeAddress;

    @Column(comment = "备注")
    private String remark;

    @Column(comment = "入职时间")
    private String entryDate;

    @Column(comment = "角色")
    private String roleName;

    public Integer getRowIndex() {
        return rowIndex;
    }

    public void setRowIndex(Integer rowIndex) {
        this.rowIndex = rowIndex;
    }

    public List<String> getError() {
        return error;
    }

    public void setError(List<String> error) {
        this.error = error;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getOfficeAddress() {
        return officeAddress;
    }

    public void setOfficeAddress(String officeAddress) {
        this.officeAddress = officeAddress;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getEntryDate() {
        return entryDate;
    }

    public void setEntryDate(String entryDate) {
        this.entryDate = entryDate;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
